\hypertarget{class_tuple_item}{\section{Tuple\+Item类 参考}
\label{class_tuple_item}\index{Tuple\+Item@{Tuple\+Item}}
}


元组元素  




{\ttfamily \#include $<$Tuple.\+h$>$}

\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_tuple_item_a7c89d2e2a875b3b98d901d5a68fd9551}{Tuple\+Item} (int)
\begin{DoxyCompactList}\small\item\em 元组元素构造函数 \end{DoxyCompactList}\item 
\hyperlink{class_tuple_item_aa3c62ba30f0c3a065dd7b6287eb07066}{Tuple\+Item} (double)
\begin{DoxyCompactList}\small\item\em 元组元素构造函数 \end{DoxyCompactList}\item 
\hyperlink{class_tuple_item_a436f7fc08ce550cd1fb0c34ff71f7436}{Tuple\+Item} (string)
\begin{DoxyCompactList}\small\item\em 元组元素构造函数 \end{DoxyCompactList}\item 
\hyperlink{class_tuple_item_a1d4acee96cd1c7dffae604bdbcbbbf35}{Tuple\+Item} (const \hyperlink{class_tuple_item}{Tuple\+Item} \&)
\begin{DoxyCompactList}\small\item\em 元组元素拷贝构造函数 \end{DoxyCompactList}\item 
virtual \hyperlink{class_tuple_item_a57c978e38dd21004de8737c0d0fb61b4}{$\sim$\+Tuple\+Item} ()
\begin{DoxyCompactList}\small\item\em 元组元素析构函数 \end{DoxyCompactList}\item 
int \hyperlink{class_tuple_item_ad48ca8dd0105cd096f3d26fe429bc583}{base\+Type} ()
\begin{DoxyCompactList}\small\item\em 获取元组元素类型 \end{DoxyCompactList}\item 
int \hyperlink{class_tuple_item_a55360031cd1003a14e8f54901f303694}{to\+Int} ()
\begin{DoxyCompactList}\small\item\em 元组元素转成int型 \end{DoxyCompactList}\item 
double \hyperlink{class_tuple_item_ae5022f3e1a2a1edbfb9e4d93d7affab8}{to\+Double} ()
\begin{DoxyCompactList}\small\item\em 元组元素转成double型 \end{DoxyCompactList}\item 
string \hyperlink{class_tuple_item_a6eab4f322c406bac150a774d761a3651}{to\+String} ()
\begin{DoxyCompactList}\small\item\em 元组元素转成string型 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{详细描述}
元组元素 

\subsection{构造及析构函数说明}
\hypertarget{class_tuple_item_a7c89d2e2a875b3b98d901d5a68fd9551}{\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{Tuple\+Item}]{\setlength{\rightskip}{0pt plus 5cm}Tuple\+Item\+::\+Tuple\+Item (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_a7c89d2e2a875b3b98d901d5a68fd9551}


元组元素构造函数 


\begin{DoxyParams}{参数}
{\em value} & 整型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}
\hypertarget{class_tuple_item_aa3c62ba30f0c3a065dd7b6287eb07066}{\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{Tuple\+Item}]{\setlength{\rightskip}{0pt plus 5cm}Tuple\+Item\+::\+Tuple\+Item (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_aa3c62ba30f0c3a065dd7b6287eb07066}


元组元素构造函数 


\begin{DoxyParams}{参数}
{\em value} & 浮点型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}
\hypertarget{class_tuple_item_a436f7fc08ce550cd1fb0c34ff71f7436}{\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{Tuple\+Item}]{\setlength{\rightskip}{0pt plus 5cm}Tuple\+Item\+::\+Tuple\+Item (
\begin{DoxyParamCaption}
\item[{string}]{value}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_a436f7fc08ce550cd1fb0c34ff71f7436}


元组元素构造函数 


\begin{DoxyParams}{参数}
{\em value} & 字符串型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}
\hypertarget{class_tuple_item_a1d4acee96cd1c7dffae604bdbcbbbf35}{\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\index{Tuple\+Item@{Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{Tuple\+Item}]{\setlength{\rightskip}{0pt plus 5cm}Tuple\+Item\+::\+Tuple\+Item (
\begin{DoxyParamCaption}
\item[{const {\bf Tuple\+Item} \&}]{item}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_a1d4acee96cd1c7dffae604bdbcbbbf35}


元组元素拷贝构造函数 


\begin{DoxyParams}{参数}
{\em item} & 元组元素 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}
\hypertarget{class_tuple_item_a57c978e38dd21004de8737c0d0fb61b4}{\index{Tuple\+Item@{Tuple\+Item}!````~Tuple\+Item@{$\sim$\+Tuple\+Item}}
\index{````~Tuple\+Item@{$\sim$\+Tuple\+Item}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{$\sim$\+Tuple\+Item}]{\setlength{\rightskip}{0pt plus 5cm}Tuple\+Item\+::$\sim$\+Tuple\+Item (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_tuple_item_a57c978e38dd21004de8737c0d0fb61b4}


元组元素析构函数 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}


\subsection{成员函数说明}
\hypertarget{class_tuple_item_ad48ca8dd0105cd096f3d26fe429bc583}{\index{Tuple\+Item@{Tuple\+Item}!base\+Type@{base\+Type}}
\index{base\+Type@{base\+Type}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{base\+Type}]{\setlength{\rightskip}{0pt plus 5cm}int Tuple\+Item\+::base\+Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_ad48ca8dd0105cd096f3d26fe429bc583}


获取元组元素类型 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
共三种类型\+:B\+A\+S\+E\+T\+Y\+P\+E\+\_\+\+I\+N\+T,B\+A\+S\+E\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+L\+E,B\+A\+S\+E\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G. 
\end{DoxyReturn}
\hypertarget{class_tuple_item_ae5022f3e1a2a1edbfb9e4d93d7affab8}{\index{Tuple\+Item@{Tuple\+Item}!to\+Double@{to\+Double}}
\index{to\+Double@{to\+Double}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{to\+Double}]{\setlength{\rightskip}{0pt plus 5cm}double Tuple\+Item\+::to\+Double (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_ae5022f3e1a2a1edbfb9e4d93d7affab8}


元组元素转成double型 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
元组元素的实际类型值 
\end{DoxyReturn}
\hypertarget{class_tuple_item_a55360031cd1003a14e8f54901f303694}{\index{Tuple\+Item@{Tuple\+Item}!to\+Int@{to\+Int}}
\index{to\+Int@{to\+Int}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{to\+Int}]{\setlength{\rightskip}{0pt plus 5cm}int Tuple\+Item\+::to\+Int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_a55360031cd1003a14e8f54901f303694}


元组元素转成int型 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
元组元素的实际类型值 
\end{DoxyReturn}
\hypertarget{class_tuple_item_a6eab4f322c406bac150a774d761a3651}{\index{Tuple\+Item@{Tuple\+Item}!to\+String@{to\+String}}
\index{to\+String@{to\+String}!Tuple\+Item@{Tuple\+Item}}
\subsubsection[{to\+String}]{\setlength{\rightskip}{0pt plus 5cm}string Tuple\+Item\+::to\+String (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_tuple_item_a6eab4f322c406bac150a774d761a3651}


元组元素转成string型 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
元组元素的实际类型值 
\end{DoxyReturn}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
libemb/inc/\hyperlink{_tuple_8h}{Tuple.\+h}\item 
libemb/src/Tuple.\+cpp\end{DoxyCompactItemize}
